import Vue from 'vue'
import App from './App.vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import router from './router';  // 自动导入index.js
import axios from 'axios';
// import routerGuard from './untils/router-guard.js'

Vue.use(ElementUI);
// 继承到vue的原型链上面，可以通过this.$axios访问


Vue.config.productionTip = false


new Vue({
  router,  // 挂载路由
  render: h => h(App)
}).$mount('#app');